package cn.flant.db.mgr;

import java.sql.Connection;
import java.sql.SQLException;

import cn.flant.db.DB;

public interface ConnectionManager {

	public Connection getConnection() throws SQLException;

	public void closeConnection(Connection conn);

	public void destroy();

	public boolean isAvailable();

	public DB getDbInfo();

}
